The high spectral resolutions of the Chandra and XMM-Newton X-ray observatories have unveiled the useful diagnostic possibilities of oxygen K absorption. To mention a few, strong O VII and O VIII edges are almost ubiquitous in the spectra of Seyfert 1 galaxies which have been used by Lee et al. (2001) to predict of a warm dust absorber along the line of sight; although this conclusion has been criticized in the light of a data reanalysis (SA0 et al. 2003), Steenbrugge et al. (2003) have detected inner-shell transitions of O III-O VI in the spectrum of NGC 5548 that point to a warm absorber that spans three orders of magnitude in ionization parameter. Moreover, Behar et al. (2003) have stressed that, in the case of both Seyfert 1 and Seyfert 2 galaxies, a broad range of oxygen charge states are usually observed along the line of sight that must be fitted simultaneously, and may imply strong density gradients of 2-4 orders of magnitude over short distances.